import http from "../../utils/reuqest";
import { AddressParams, PaginatedAddress } from "./type";

export const getAddress=(params?:AddressParams)=>{

  return  http.get<PaginatedAddress>('/address/list',params);

}
 